]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
windowPreview: Keep borderCenter always visible
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 14 Oct 2020 01:17:28 +0000 (03:17 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 1 Feb 2021 20:06:13 +0000 (21:06 +0100)
We need it to position the icon now, which isn't hidden with the
border.

https://gitlab.gnome.org/Teams/Design/os-mockups/-/issues/81

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1605>

js/ui/windowPreview.js

index 63f519f08559a4e3f48b8d5848bea0fec12674fb..e860f06471b3a65750d1a8d8aad7a8e2ae186d7b 100644 (file)
@@ -297,8 +297,6 @@ var WindowPreview = GObject.registerClass({
             factor: 0.5,
         }));
         this._borderCenter = new Clutter.Actor();
-        this._border.bind_property('visible', this._borderCenter, 'visible',
-            GObject.BindingFlags.SYNC_CREATE);
         this._borderCenterConstraint = new Clutter.BindConstraint({
             source: this._windowContainer,
             coordinate: Clutter.BindCoordinate.SIZE,